Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Meshes


Q3Mesh_GetVertexComponent

You can use the Q3Mesh_GetVertexComponent function to get the component of a mesh to which a vertex belongs.

TQ3Status Q3Mesh_GetVertexComponent (
TQ3GeometryObject mesh, 
TQ3MeshVertex vertex, 
TQ3MeshComponent *component);
mesh
A mesh.
vertex
A mesh vertex.
component
On exit, the mesh component that contains the specified mesh vertex.
DESCRIPTION
The Q3Mesh_GetVertexComponent function returns, in the component parameter, the mesh component that contains the mesh vertex specified by the mesh and vertex parameters.

SPECIAL CONSIDERATIONS
The Q3Mesh_GetVertexComponent function might not accurately report the mesh component that contains a mesh vertex if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996